.TH "nvme_mi_admin_get_log_persistent_event" 9 "nvme_mi_admin_get_log_persistent_event" "December 2023" "libnvme API manual" LINUX
.SH NAME
nvme_mi_admin_get_log_persistent_event \- Retrieve Persistent Event Log
.SH SYNOPSIS
.B "int" nvme_mi_admin_get_log_persistent_event
.BI "(nvme_mi_ctrl_t ctrl "  ","
.BI "enum nvme_pevent_log_action action "  ","
.BI "__u32 size "  ","
.BI "void *pevent_log "  ");"
.SH ARGUMENTS
.IP "ctrl" 12
Controller to query
.IP "action" 12
Action the controller should take during processing this command
.IP "size" 12
Size of \fIpevent_log\fP
.IP "pevent_log" 12
User address to store the persistent event log
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.
